package com.wing.wechat.util;

/**
 * 企业微信工具类
 *
 * @author xiayang
 */
public class WechatUtil {

    /**
     * 企业ID
     */
    public static final String ENTERPRISE_ID = "wxd014012dae1bc265";

    /**
     * 应用ID
     */
    private static final String AGENT_ID = "4";

    /**
     * 企业小助手应用Secret
     */
    public static final String ENTERPRISE_SECRET = "rHyy-ouwI8bI9XGSooBt428l07T7g0KW3vPadKSbn4g";

    /**
     * 通讯录应用Secret
     */
    public static final String ADDRESS_SECRET = "K8mxuITYefrYDbapXH_XnI5c43-YTLrpq3TfhE-ZTVs";

    /**
     * 获取企业微信ACCESS_TOKEN
     */
    public static final String GET_TOKEN_URL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=REQUEST_ID&corpsecret=REQUEST_SECRET";


    /**
     * 创建部门
     */
    public static final String CREATE_DEPARTMENT_URL = "https://qyapi.weixin.qq.com/cgi-bin/department/create?access_token=ACCESS_TOKEN";

    /**
     * 更新部门
     */
    public static final String UPDATE_DEPARTMENT_URL = "https://qyapi.weixin.qq.com/cgi-bin/department/update?access_token=ACCESS_TOKEN";

    /**
     * 删除部门
     */
    public static final String DELETE_DEPARTMENT_URL = "https://qyapi.weixin.qq.com/cgi-bin/department/delete?access_token=ACCESS_TOKEN&id=DEPARTMENT_ID";

    /**
     * 部门列表
     */
    public static final String LIST_DEPARTMENT_URL = "https://qyapi.weixin.qq.com/cgi-bin/department/list?access_token=ACCESS_TOKEN&id=DEPARTMENT_ID";

    /**
     * 部门详情
     */
    public static final String GET_DEPARTMENT_URL = "https://qyapi.weixin.qq.com/cgi-bin/department/get?access_token=ACCESS_TOKEN&id=DEPARTMENT_ID";

    /**
     * 创建成员
     */
    public static final String CREATE_USER_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/create?access_token=ACCESS_TOKEN";

    /**
     * 读取成员
     */
    public static final String GET_USER_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&userid=USERID";

    /**
     * 更新成员
     */
    public static final String UPDATE_USER_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/update?access_token=ACCESS_TOKEN";

    /**
     * 删除成员
     */
    public static final String DELETE_USER_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/delete?access_token=ACCESS_TOKEN&userid=USERID";

    /**
     * 批量删除成员
     */
    public static final String BATCH_DELETE_USER_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/batchdelete?access_token=ACCESS_TOKEN";

    /**
     * 部门成员
     */
    public static final String GET_DEPARTMENT_USER_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/simplelist?access_token=ACCESS_TOKEN&department_id=DEPARTMENT_ID";

    /**
     * 部门成员详情
     */
    public static final String GET_DEPARTMENT_USER_LIST_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/list?access_token=ACCESS_TOKEN&department_id=DEPARTMENT_ID";

    /**
     * 成员ID列表
     */
    public static final String LIST_ID_USER_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/list_id?access_token=ACCESS_TOKEN";

    /**
     * 企业所有打卡规则列表
     */
    public static final String GET_ENTERPRISE_CLOCK_RULE_URL = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcorpcheckinoption?access_token=ACCESS_TOKEN";

    /**
     * 员工打卡规则
     */
    public static final String GET_USER_CLOCK_RULE_URL = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckinoption?access_token=ACCESS_TOKEN";

    /**
     * 打卡记录数据
     */
    public static final String GET_CHECKIN_DATA_URL = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckindata?access_token=ACCESS_TOKEN";

    /**
     * 打卡日报数据
     */
    public static final String GET_CHECKIN_DAY_DATA_URL = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckin_daydata?access_token=ACCESS_TOKEN";

    /**
     * 打卡月报数据
     */
    public static final String GET_CHECKIN_MONTH_DATA_URL = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckin_monthdata?access_token=ACCESS_TOKEN";

    /**
     * 打卡人员排班信息
     */
    public static final String GET_CHECKIN_SCHEDULE_LIST_URL = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckinschedulist?access_token=ACCESS_TOKEN";



}
